package com.wuyi.tea.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuyi.tea.domain.pojo.Comment;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {
    @Select("select * from comment where orient_id=#{id}")
    List<Comment> listById(Long id);
}
